#coding:utf-8
'''
使用for循环打印九九乘法表
1X1=1
1X2=2 2X2=4
....
1X9=9 2X9=18...9X9=81
'''
for x in range(1,10):
    # x是已知数 1-9
    for y in range(1,x+1):
        #     1  X  1  =  1     end='' 不换行
        print(x,'X',y,'=',x*y,'\t',end='')
    print()